/**************************************************************
  > File Name: spacemap.c
  > Author: LuoLiang
  > Mail: 1204553475@qq.com 
  > Created Time: 2022年01月03日 星期一 17时21分46秒
 **************************************************************/

#include <stdio.h>
#include <stdlib.h>

int a = 10;
static int b = 20;

int main(int argc,char **argv)
{
	int c = 100;
	int d;
	static int e = 10;
	static int f;
	
	int *p;
	int *q = NULL;
	q = malloc(sizeof(double));

	printf("%p\n",&a);
	printf("%p\n",&b);
	printf("%p\n",&c);
	printf("%p\n",&d);
	printf("%p\n",&e);
	printf("%p\n",&f);
	printf("%p\n",p);
	printf("%p\n",&p);
	printf("%p\n",q);
	printf("%p\n",&q);
	getchar();

    exit(0);
}
